package com.java.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-08-31
 * Time: 11:26
 */
//@Controller、@Service、@Repository、@Component、@Configuration
@Controller
public class TestBean {
    public void sayHi() {
        System.out.println("Hi,TestBean!");
    }
}
